/******************************************************************************
* This file is part of is32p218 platform,
* Copyright (c) 2009 HangZhou InfoStrong CO.,LTD. All rights reserved.
* This software may only be used under the terms of a valid, current,
* end user license from InfoStrong.
* Nothing else gives you the right to use this software.   
*
* Name:   plc_api.h
* Desc:   PLC module API header file
* Author: Jerry
* Date:   2009-11-4
* Note:   
* History:
*
******************************************************************************/
#include "def.h"
#include "isOS.h"
#include "afn_def.h"
#include "plc_hl.h"
#include "plc_dl.h"
#include "plc_if.h"

#ifndef __PLC_API_H__
#define __PLC_API_H__

#ifdef __cplusplus
extern "C" {
#endif


void plc_api_mac_set( U8 *p_mac_data );
const U8* plc_api_mac_get( void  );
void plc_api_dc_mac_set( U8 *p_mac_data );
const U8* plc_api_dc_mac_get( void  );
void plc_api_params_set( const PLC_PARAMS_T *p_plc_para );
const PLC_PARAMS_T *plc_api_params_get( void );
#if (defined(XN5106C_EXT)) && defined(MASTER_NODE)
const PLC_MASTER_PARAMS_T *plc_api_master_params_get( void );
void plc_api_master_params_set( const PLC_MASTER_PARAMS_T *p_plc_para );
#endif
void plc_api_sig_info_get( U8 *p_sig_quality, U8 *p_vit_chg );

#ifdef __cplusplus
}
#endif

#endif // end __PLC_API_H__

